I have 4 attributes namely SRS_ID, Description, DSD_ID and Tracability_To_Testcase.
While exporting from DOORS to word with book format,i got following style:
SRS_ID : SRS019
DSD_ID : DSD005
a. In case a passive wake up happens.
Tracability_To_Testcase : TC_001
TC_002
TC_003
SRS_ID : SRS020
DSD_ID : DSD006
a. In case a active wake up happens.
Tracability_To_Testcase : TC_004
TC_005
TC_006
But i need the below style for Tracability_To_Testcase coloum:
SRS_ID : SRS019
DSD_ID : DSD005
a. In case a passive wake up happens.
Tracability_To_Testcase :
TC_001
TC_002
TC_003
SRS_ID : SRS020
DSD_ID : DSD006
a. In case a active wake up happens.
Tracability_To_Testcase :
TC_004
TC_005
TC_006
Can anyone help me? The Word.dxl is attached with this.
ResmyfrancisKoppara - Mon Nov 15 01:29:22 EST 2010 |
Re: Export to Word with Book format-How to get the style? Mathias Mamsch - Mon Nov 15 12:04:45 EST 2010
My suggestion for you would be to introduce a new syntax in the column title. You could extend the syntax of the column titles. You could allow "Traceability\n" as a column title which would tell the exporter, that before exporting the value to export a newline. All you would need to do is in the dumpColumnValue function check for "\n" at the end of the titlestring, set a flag (backslashNPresent = true) and later, when exporting the title export an additional linefeed. If you have any questions regarding the modification of the sourcecode feel free to ask - I really think you should try it, it seems to be pretty straight forward and a good step into starting with export customizations ...
Regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|